package pl.gwt.client;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import pl.gwt.client.common.*;

@RemoteServiceRelativePath("pl.gwt.server")
public interface ClientDetailsService extends RemoteService {

	public static class Util {

		public static ClientDetailsServiceAsync getInstance() {

			return GWT.create(ClientDetailsService.class);
		}
	}
	
	public String addClient(Client client);
	public String setClient();
	public Client getClient(String client);
	public List<String> getProjects(String client);
}
